home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1786 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  821 b 

  1. Path: news.cis.nctu.edu.tw!NewsWatcher!user
  2. From: pmardones@itata.disca.utfsm.cl (pedro mardones)
  3. Newsgroups: comp.lang.c++
  4. Subject: How to access memory location D000:0000
  5. Date: 12 Jan 1996 23:48:07 GMT
  6. Organization: sisdef
  7. Message-ID: <pmardones-1201961101220001@146.83.198.30>
  8. NNTP-Posting-Host: @146.83.198.30
  9.  
  10. I am developing an application in Borland C++ 4.5 in a 32 bits platform.
  11.  
  12. My problem is how to access an specific memory location ... D000:0000
  13.  
  14. In Borland C++ 4.5 over a 16 bits platform , I can access the location
  15. with the following code:
  16.  
  17.    WORD far * Address
  18.    Address= (WORD far *) MK_FP(LOWORD(_SegD000), 0x000);
  19.  
  20. Now, using Borland C++4.5, over a 32 bits, I cannot use the selector
  21. _D0000 and _SegD000, and also I cannot use the function MK_FP....
  22.  
  23. Any idea, please.....
  24.  
  25. Thanks ,
  26.  
  27. Pedro Mardones
  28.